package App;/*
作者Crying711
日期:2020/12/29
时间:18:42
*/

import Core.Keyboardmonitor;
import Utils.Timer;
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.stage.StageStyle;

public class App extends Application {
    public static void main(String[] args) throws InterruptedException {


        if (System.getProperty("os.name").contains("Windows"))
        {


            new Thread(()->{
                launch(args);

              }).start();

                try {
                    Keyboardmonitor keyboardmonitor =new Keyboardmonitor();
                    Timer timer =new  Timer(5);
                    timer.start();
                }catch (Exception e)
                {

                }



        }
    }

    @Override
    public void start(Stage primaryStage) throws Exception {
        primaryStage.initStyle(StageStyle.UTILITY);
        primaryStage.setScene(null);
    }
}


